import { _get, _post } from './httpWrap'
export default {
    getFilter (params, succ, fail): void { // 查询
        _post('/api/service_log_viewer/log_config/filter', params, succ, fail)
    },
    importConfig (params, succ, fail): void { // 导入
        _post('/api/service_log_viewer/log_config/import', params, succ, fail)
    },
    downloadConfig (params, succ, fail): void { // 导出
        _post('/api/service_log_viewer/log_config/upload', params, succ, fail, { responseType: 'blob' })
    }
}
